package cn.addr.message.model;


import java.util.Collection;

import cn.addr.user.model.LinkPerson;
import cn.addr.user.model.Tag;
import cn.addr.user.model.UserBean;

@SuppressWarnings("serial")
public class UserMessage implements java.io.Serializable{
	
	public static final byte LOGIN 	 	= 1;
	public static final byte REGISTER 	= 2;
	public static final byte XMLMESSAGE = 3;
	public static final byte RESPONSE 	= 4;
	public static final byte RESQUEST	= 5;
	
	private UserBean user;
	private Collection<LinkPerson> linkPersons;
	private Collection<Tag> 	   tags;
	private Byte messageType;
	
	public UserBean getUser() {
		return user;
	}
	public void setUser(UserBean user) {
		this.user = user;
	}
	public Collection<LinkPerson> getLinkPersons() {
		return linkPersons;
	}
	public void setLinkPersons(Collection<LinkPerson> linkPersons) {
		this.linkPersons = linkPersons;
	}
	public Byte getMessageType() {
		return messageType;
	}
	public void setMessageType(Byte messageType) {
		this.messageType = messageType;
	}
	public Collection<Tag> getTags() {
		return tags;
	}
	public void setTags(Collection<Tag> tags) {
		this.tags = tags;
	}


}
